﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Validation.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Validation</title>
    <style type="text/css">
    html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
    body
    {
        text-align:center;
        margin:0;
        padding-top:8px;
        border-top:8px solid #990000;
    }
    #wrapper
    {
        width:800px;
        margin:0 auto;
        text-align:left;
        padding-top:100px;
    }
    .textfield-wrapper
    {
        margin-bottom:5px;
    }
    .textfield-wrapper label
    {
        display:inline-block;
        width:120px;
    }
    .submit-btn
    {
        margin:5px 0 0 123px;
    }
    </style>
</head>
<body>
<div id="wrapper">
    <form id="form1" runat="server">
        <div class="textfield-wrapper">
            <jt:CustomTextbox ID="uiName" runat="server" CssClass="awesome-text-box" LabelText="Navn: " Required="true" Type="Name" />
        </div>
        <div class="textfield-wrapper">
            <jt:CustomTextbox ID="uiInteger" runat="server" LabelText="Hel-tal: " Required="true" Type="Integer" />
        </div>
        <div class="textfield-wrapper">
            <jt:CustomTextbox ID="uiDecimal" runat="server" LabelText="Decimalt tal: " Required="true" Type="Decimal" />
        </div>
        <div class="textfield-wrapper">
            <jt:CustomTextbox ID="uiUsername" runat="server" LabelText="Brugernavn: " Required="true" Type="Username" />
        </div>
        <asp:Button ID="uiSubmit" CssClass="submit-btn" runat="server" Text="Send" />
    </form>
</div>
</body>
</html>
